{__NOLAYOUT__}<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>注意 - 胎大王</title>
	<meta charset="UTF-8">
	{include file='common/head' /}
</head>
<body>
<div class="container">
{include file='common/top' /}

	<div class="information-main">
		<div class="f-bk10"></div>
		<?php switch ($code) {?>
			<?php case 1:?>
			<div><img src="__IMG__/success.png" alt="success"></div>
			<div><p><b><?php echo(strip_tags($msg));?></b></p></div>
			<?php break;?>
			<?php case 0:?>
			<div><img src="__IMG__/error.png" alt="error"></div>
			<div><p><b><?php echo(strip_tags($msg));?></b></p></div>
			<?php break;?>
		<?php } ?>	
		<div><p>页面自动 <a id="href" href="<?php echo($url);?>">跳转</a> 等待时间： <b id="wait"><?php echo($wait);?></b></p></div>

		<div class="f-bk50"></div>
	</div>
	{include file='common/foot' /}


</div>
<script type="text/javascript">
	(function(){
		var wait = document.getElementById('wait'),
			href = document.getElementById('href').href;
		var interval = setInterval(function(){
			var time = --wait.innerHTML;
			if(time <= 0) {
				location.href = href;
				clearInterval(interval);
			};
		}, 1000);
	})();
</script>
</body>
</html>
